package com.xbongbong.saas.domain.dao;

import com.xbongbong.pro.domain.entity.UpdateDataEntity;
import com.xbongbong.saas.domain.entity.PaymentTaskSubDataEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: 汪腾伟
 * @date: 2020/12/7
 * @desrcption:
 * @version:1.0
 */
@Repository
@Mapper
public interface PaymentTaskSubDao {

    /**
     * 无差别更新回款计划子表单信息
     *
     * @param updateDataEntities
     */
    void updateBatchAll(@Param("list") List<PaymentTaskSubDataEntity> updateDataEntities);

    /**
     * 批量插入回款计划子表单信息
     *
     * @param paymentTaskSubDataInsertList
     */
    void insertAllBatch(@Param("list")List<PaymentTaskSubDataEntity> paymentTaskSubDataInsertList);
}
